/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package View;


import javax.swing.JFrame;


/**
 *
 * @author dami
 */
public class newHomePage extends JFrame {

     public newHomePage(){
        ImagePanel imgPanel = new ImagePanel(getWidth(), getHeight());
    
        setSize(620, 500);
        setLocationRelativeTo(null);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        
        add(imgPanel);
        setVisible(true);
    }

   public static void main(String[] args)
    {
        newHomePage hp = new newHomePage();
    }
}

       